package com.app.designpatternslearn.behavior.interpreterpattern.code

class TerminalExpression(private val data: String) : AbstractExpression {

    override fun interpret(context: String): Boolean = context.contains(data)
}